Display Name = "Safar Ruins Area 5"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 408, 36, 32, 0, 0])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 408, 40, 32, 0, 0])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 226, 33, 7, 0, 0])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 226, 13, 7, 0, 0])
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 226, 33, 7, 0, 0])
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 226, 13, 7, 0, 0])
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 226, 13, 7, 0, 0])
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 227, 51, 17, 0, 0])
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 223, 48, 25, 0, 0])
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 223, 48, 25, 0, 0])
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 223, 48, 25, 0, 0])
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 227, 38, 17, 0, 0])
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    ConditionalBranch([12, "unlock_level < 2"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeWeapons([184, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 14
Name = "EV014"

  Page 0
    ChangeMapDisplay([1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 226, 33, 7, 0, 0])
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([2320, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 16
Name = "EV016"

  Page 0
    PlayBGM(["RPG::BGM(@name=\"scene_sinpi\", @volume=100, @pitch=100)"])
    ShowPicture([5, "80_gnomaren_st01", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 60, true])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ConditionalBranch([0, 2501, 1])
      CallCommonEvent([389])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["alice_fc1", 0, 0, 2])
    ShowText(["\\n<Alice>So this is the artificial earth spirit...\nAs I would expect from the earth spirit, she appears to be silent."])
    ShowText([""])
    ShowText([""])
    ConditionalBranch([4, 167, 0])
      ShowTextAttributes(["lusia_fc1", 2, 0, 2])
      ShowText(["\\n<Lucia>She appears to be glaring at Gnome for some reason. Is she intimidating her, or is she communicating with her?"])
      ShowText([""])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ShowTextAttributes(["gnome_fc1", 0, 0, 2])
    ShowText(["\\n<Gnome>............"])
    ShowText([""])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>Umm, would you be willing to let us borrow your power...?"])
    ShowText([""])
    ShowTextAttributes(["sylph_fc1", 1, 0, 2])
    ShowText(["\\n<Sylph>She's about to fight you now, are you ready?"])
    ShowText([""])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>So she's saying she wants me to demonstrate my power?"])
    ShowText([""])
    ShowTextAttributes(["sylph_fc1", 1, 0, 2])
    ShowText(["\\n<Sylph>She said she doesn't like that weak look on your face, so she wants to smack it."])
    ShowText([""])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>Huh?!"])
    ShowText([""])
    ConditionalBranch([4, 497, 0])
      ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
      ShowText(["\\n<Gnomaren’>............"])
      ShowText([""])
      ShowTextAttributes(["gnomaren_fc1", 3, 0, 2])
      ShowText(["\\n<Gnomaren>......?!?!"])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ErasePicture([5])
    ChangeBattleBGM(["RPG::BGM(@name=\"boss_yonseirei\", @volume=100, @pitch=100)"])
    ControlSwitches([22, 22, 0])
    BattleProcessing([0, 1537, false, false])
    ControlSwitches([22, 22, 1])
    PlayBGM(["RPG::BGM(@name=\"dungeon_safar\", @volume=100, @pitch=100)"])
    ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
    ShowPicture([5, "80_gnomaren_st01", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    ConditionalBranch([4, 174, 0])
      ShowTextAttributes(["sandw_fc1", 0, 0, 2])
      ShowText(["\\n<Dahlia>So tiny, yet she was so powerful..."])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ConditionalBranch([4, 262, 0])
      ShowTextAttributes(["golem_fc1", 0, 0, 2])
      ShowText(["\\n<Emeth>STRENGTH CONFIRMED TO EXCEED GOLEM'S..."])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ShowTextAttributes(["sylph_fc1", 1, 0, 2])
    ShowText(["\\n<Sylph>\"Your weak face belies your strength. I'm pleased with it...\" she says."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["sonia_fc2", 2, 0, 2])
    ShowText(["\\n<Sonya>She looks emotionless, but she's surprisingly warrior-like..."])
    ShowText([""])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ShowTextAttributes(["sylph_fc1", 1, 0, 2])
    ShowText(["\\n<Sylph>\"I shall lend you my power, now hold out your palm...\" she says."])
    ShowText([""])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>Okay then... like this?"])
    ShowText([""])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"mon_dageki\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Luka holds out his palms, but Gnomaren slaps his hands away!	"])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>Ouch! What's with this girl?!"])
    ShowText([""])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ShowTextAttributes(["sylph_fc1", 1, 0, 2])
    ShowText(["\\n<Sylph>\"I don't like that arrogance...\" she says.\n\"Bow down more, and hold up your palms...\"  she says."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>That's quite demanding..."])
    ShowText([""])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Luka kneels forward, then holds out his hands!\nGnomaren grips his hands tightly!"])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"mon_warm\", @pitch=100, @volume=100)"])
    ShowPicture([10, "sys_white", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([10, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    MovePicture([10, nil, 0, 0, 0, 0, 100, 100, 0, 0, 30, true])
    ErasePicture([10])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>I can feel the breath of the land within my body..."])
    ShowText([""])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["This feeling of the earth's power taking root inside me is just like when Gnome lent me her power..."])
    ShowText([""])
    ChangeSkills([0, 1, 0, 9800])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Luka learned \\I[300]\\C[1]Gnomaren\\C[0]!"])
    Wait([30])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ShowTextAttributes(["sylph_fc1", 1, 0, 2])
    ShowText(["\\n<Sylph>\"You seem kind of unreliable, so I'll come along with you...\" she says."])
    ShowText([""])
    ConditionalBranch([4, 300, 0])
      ShowTextAttributes(["youki_fc1", 0, 0, 2])
      ShowText(["\\n<Kureha>She's so powerful, yet caring...\nShe'd make a great big sister!"])
      ShowText([""])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ErasePicture([5])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=37, @parameters=[])\", \"RPG::MoveCommand(@code=10, @parameters=[])\", \"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=37, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=10, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
    Script(["add_actor_ex(497)"])
    PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Gnomaren joined the party!"])
    Wait([60])
    ControlSwitches([2450, 2450, 0])
    ShowTextAttributes(["gnomaren_fc1", 0, 0, 2])
    ShowText(["\\n<Gnomaren>............"])
    ShowText([""])
    ShowTextAttributes(["sylph_fc1", 1, 0, 2])
    ShowText(["\\n<Sylph>\"Instead of the usual translation fee, I want you to give Sylph ten cakes...\" she says."])
    ShowText([""])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"mon_dageki\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["sylph_fc1", 4, 0, 2])
    ShowText(["\\n<Sylph>Gyaah!"])
    ShowText([""])
    ShowTextAttributes(["sonia_fc2", 2, 0, 2])
    ShowText(["\\n<Sonya>Looks like she made that translation up..."])
    ShowText([""])
    ConditionalBranch([4, 315, 0])
      ShowTextAttributes(["queenfairy_fc1", 0, 0, 2])
      ShowText(["\\n<Airy>That's what happens when you blurt out what's on your mind."])
      ShowText([""])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["gnome_fc1", 0, 0, 2])
    ShowText(["\\n<Gnome>............"])
    ShowText([""])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>You're looking a little sad, Gnome."])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"mon_dageki\", @pitch=100, @volume=100)"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Gnome hits Luka with a direct jab of her fist!"])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>Gaaah...!!"])
    ShowText([""])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Has Sylph always been taking heavy blows like this...?"])
    ShowText([""])
    ConditionalBranch([1, 1179, 0, 1, 0])
      ShowTextAttributes(["alice_fc1", 0, 0, 2])
      ShowText(["\\n<Alice>That reminds me...\nTamamo asked us to bring her this world's Earth Spirit."])
      ShowText([""])
      ShowText([""])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>Tamamo wanted a sample of her earth...\nShe said she would reward us as thanks, so let's take her back with us."])
      ShowText([""])
      ShowText([""])
      Empty([])

    BranchEnd([])
    Script(["gain_medal(79)"])
    ExitEventProcessing([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 17
Name = "EV017"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The party uses the circle of healing..."])
    PlaySE(["RPG::SE(@name=\"Heal7\", @pitch=100, @volume=80)"])
    FlashScreen(["Color(@red=255.0, @green=255.0, @blue=255.0, @alpha=255.0)", 30, true])
    RecoverAll([0, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The party's HP and MP have been fully recovered!"])
    Empty([])

CommonEvent 18
Name = "EV018"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Clay Doll>This isn't a dead end.\nYou can go underneath this building..."])
    ShowText([""])
    ShowText([""])
    Empty([])

CommonEvent 19
Name = "EV019"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([2335, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 20
Name = "通行禁止"

  Page 0
    Empty([])

CommonEvent 21
Name = "通行禁止"

  Page 0
    Empty([])
